package com.ytjj.qmyx.admin.mapper;

import com.ytjj.qmyx.admin.model.ImLeaveMsg;
import com.ytjj.qmyx.admin.model.ImLeaveMsgExample;
import java.util.List;

import com.ytjj.qmyx.admin.model.vo.ImLeaveMsgVO;
import org.apache.ibatis.annotations.Param;

public interface ImLeaveMsgMapper {
    long countByExample(ImLeaveMsgExample example);

    int deleteByExample(ImLeaveMsgExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ImLeaveMsg record);

    int insertSelective(ImLeaveMsg record);

    List<ImLeaveMsg> selectByExample(ImLeaveMsgExample example);

    ImLeaveMsg selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ImLeaveMsg record, @Param("example") ImLeaveMsgExample example);

    int updateByExample(@Param("record") ImLeaveMsg record, @Param("example") ImLeaveMsgExample example);

    int updateByPrimaryKeySelective(ImLeaveMsg record);

    int updateByPrimaryKey(ImLeaveMsg record);

    List<ImLeaveMsg> findList(ImLeaveMsgVO imLeaveMsgVO);

    Integer findRoleByUserId(@Param("userId")Integer userId);
}